main(List<String> args) {
  // break continue
  List list = [1, 2, 3];

  for (var item in list) {
    if (item == 2) {
      // break;
      continue;
    }
    print(item);
  }

  print('---------------------------');

  // break continue 只操作当前循环
  List list2 = [4, 5, 6];
  // ignore: unused_local_variable
  for (var item in list) {
    for (var item2 in list2) {
      if (item2 == 5) {
        // break;
        continue;
      }
      print(item2);
    }
  }
}
